Study on carbon emission driving factors and carbon peak forecasting in power sector of Shanxi province

The realisation of the low-carbon transition of the energy system in resource-intensive regions, as embodied by Shanxi Province, depends on a thorough understanding of the factors impacting the power sector’s carbon emissions and an accurate prediction of the peak trend. Because of this, the power industry’s carbon emissions in Shanxi province are measured in this article from 1995 to 2020 using data from the Intergovernmental Panel on Climate Change (IPCC). To obtain a deeper understanding of the factors impacting carbon emissions in the power sector, factor decomposition is performed using the Logarithmic Mean Divisia Index (LMDI). Second, in order to precisely mine the relationship between variables and carbon emissions, the Sparrow Search Algorithm (SSA) aids in the optimisation of the Long Short-Term Memory (LSTM). In order to implement SSA-LSTM-based carbon peak prediction in the power industry, four development scenarios are finally built up. The findings indicate that: (1) There has been a fluctuating upward trend in Shanxi Province’s total carbon emissions from the power industry between 1995 and 2020, with a cumulative growth of 372.10 percent. (2) The intensity of power consumption is the main factor restricting the rise of carbon emissions, contributing -65.19%, while the per capita secondary industry contribution factor, contributing 158.79%, is the main driver of the growth in emissions. (3) While the baseline scenario and the rapid development scenario fail to peak by 2030, the low carbon scenario and the green development scenario peak at 243,991,100 tonnes and 258,828,800 tonnes, respectively, in 2025 and 2028. (4) Based on the peak performance and the decomposition results, resource-intensive cities like Shanxi’s power industry should concentrate on upgrading and strengthening the industrial structure, getting rid of obsolete production capacity, and encouraging the faster development of each factor in order to help the power sector reach peak carbon performance.


Introduction
One of the main industries contributing to greenhouse gas emissions is the energy sector [1].More than 80% of China's total emissions of carbon dioxide come from the energy sector, with the power sector contributing roughly 42.5% of these emissions [2,3].Future growth in energy consumption will mostly come from the power sector, which is the primary source of carbon emissions.The electricity industry has a higher potential for decarbonization and cost advantages in reducing carbon emissions than other sectors.Its emission reduction process and peak rate will be closely linked to the nation's progress towards achieving the "double carbon" target [4,5].Since China's regions have quite different levels of economic development, each province must design specific plans for reducing emissions based on its unique energy needs.Using Shanxi Province as an example, the rate of carbon peaking in its power sector has become the key to gauging the success of energy reform in Shanxi Province, which is the first and only pilot province for regional and comprehensive reform of China's energy revolution [6][7][8].Determining the future carbon peak and conducting a thorough analysis of the variables influencing carbon emissions in the power industry of Shanxi province is imperative.This holds significant value for constructing a contemporary energy system and advancing energy system reform, and it also offers valuable insights for other sizable energy regions.
Depending on the subject of research, different factors influence different carbon emissions.The choice of carbon emission factors is influenced by the study object's duration, industry, and regional scope.In their investigation of the relationship between these factors and carbon emission, Shan et al. included fiscal decentralization, institutional quality, energy price, and GDP as carbon emission factors [9].The findings indicated that there is an inverse U-shaped relationship between fiscal decentralization and carbon emission, and that increasing energy prices and institutional system quality will decrease carbon emission while increasing GDP will increase carbon emission.In their analysis of the factors influencing carbon emissions in the Philippines, Sumabat et al. discovered that rising living standards and economic expansion both greatly increase carbon emissions, a problem that is prevalent in developing nations [10].In their analysis of the decarbonization of energy systems, Isik et al. showed that a rise in the proportion of fossil fuels has a notable effect on carbon emissions [11].Finding a practical way to break down carbon emission variables is essential to lowering emissions.Using random forests, Qin et al. determined the major influencing factors and then assessed each factor's significance in relation to carbon emissions based on its characteristic importance [12].The advantages and disadvantages of each component, however, cannot be intuitively reflected by this approach.Using the extended STIRPAT model, Fang et al. examined the emission drivers of thirty Chinese provinces and projected carbon emissions from this data [13].This article breaks down carbon emissions using the Logarithmic Mean Divisia Index (LMDI) approach.On the other hand, the LMDI model is more flexible because it can break down carbon emission drivers in a particular fashion and does not need that the functional link between the components and carbon emissions be known ahead of time.
Numerous researchers have used scenario analysis in conjunction with various prediction models to look at carbon emission patterns at the regional level in the study of carbon emission peak prediction.Wang et al. use the enhanced STIRPAT model to analyze the carbon emissions predicted from Shanghai's energy industry [14].Using the ARIMA model, Jia et al. simulate and predict the ecological footprint of Henan Province.This study validates the prediction model's validity and gives managers a guide for organizing the region's ecological balance for the long-term growth of the economy and society [15].Related researchers use deep learning to address these kinds of issues.A hybrid prediction model combining LSTM and multi-intelligentsia was proposed by Bouziane et al. to forecast carbon emissions during the energy generation process [16].Zuo et al. developed an integrated LSTM-STIRPAT prediction model to forecast the peak carbon emissions of 30 Chinese regions [17].Because traditional deep learning models often overfit and have poor generalization capabilities, researchers have once again concentrated their efforts on increasing model accuracy.In this regard, Huo et al. employed GA to enhance the SVM model and more precisely forecast the Jiangsu province's carbon emission trend across three scenarios [18].The attention mechanism was presented by Lin et al., who also developed the Attention-LSTM prediction model to perform a prediction research of the undesirable carbon dioxide emissions outputs in many nations [19].A review of the literature on carbon emission forecasting indicates that the majority of studies that use intelligent algorithms to optimize forecasting models are now focused on the transportation and construction sectors, with a dearth of research on the power sector.
Since its proposal, the objective of carbon peaking and carbon neutrality has drawn a lot of attention, and there are becoming more and more public discussions on the subject.A practical way to accomplish the dual-carbon goal is to investigate the factors that contribute to carbon emissions in important sectors and tailor carbon reduction strategies accordingly [20,21].Nonetheless, the majority of previous study has tended to concentrate on a wider variety of entities, including nations, continents, and synergistic areas.Additionally, due to variations in their respective development, cities have extremely distinct carbon emission sources and emission control tactics.When creating emission reduction plans, several major energy provinces should pay close attention to the unique characteristics of their own energy system.This research explores the techniques of energy-intensive cities for reducing emissions, with a particular focus on Shanxi Province [22][23][24].Regarding the selection of research areas, there is a dearth of studies on carbon emissions related to the electric power sector in energy-structured cities, with the majority of research concentrating on transportation, manufacturing, building, etc [25][26][27].This work aims to close this research gap by examining the carbon emissions from electric power in Shanxi province from three angles: time dimension, prediction technique improvement, and factor selection.In the selection of influencing factors, factors such as per capita industrial contribution value, energy consumption intensity, energy efficiency, etc. are innovatively introduced, and the contribution of carbon emissions is analysed from the dimensions of population, economy, technology and electricity.This work presents the sparrow search algorithm, which dynamically explores the LSTM network's hyperparameters to find the global optimal solution.This effectively addresses the overfitting issue and enhances convergence rate and prediction accuracy in the context of prediction model selection.Furthermore, this paper relaxes the study year to the period of 1995-2020, which spans the period of economic system reform, structural strategic adjustment and comprehensive deepening reform in Shanxi Province.The results of the long-term study can more accurately reflect the regional peculiarities by thoroughly analyzing the elements that drive carbon emissions from the power sector in Shanxi Province.This helps to explain the emission reduction focus.This paper's framework is divided into four sections.The study's history is provided in the first section, along with a dynamic overview of pertinent research techniques.Organizing the facts and methods used to realize the article is the second step.The third section examines the power sector's emissions from 1995 to 2020 as well as the results of the influencing factors' decomposition.Based on the decomposition, it then identifies the drivers that have the greatest impact, builds the SSA-LSTM prediction model using the four dimensions of electric power, technology, economy, and demographics, and applies scenario analysis to forecast trends.The research findings of this work are summed up in the fourth part.The final section offers emission reduction strategies for the energy-intensive region represented by Shanxi.

Carbon emissions accounting for power sector
The methodology recommended by the Intergovernmental Panel on Climate Change (IPCC) is used in this study to calculate the electricity sector's contribution to overall carbon emissions [28].The accounting method calculates the carbon emissions consumed in the production process by accumulating, layer by layer, data on the activity levels of various fuels and parameters such as the corresponding emission factors.

C ¼ AD � EH ð1Þ
Where: C represents the CO 2 emissions; AD represents the activity level contributing to the carbon emissions in the production or consumption process; and EH is the carbon emission coefficient associated with each unit of production or consumption activity.
Among them, FC is the amount of fossil fuel consumed in production or consumption; NCV refers to the average low heating value of fossil fuels.
Where: CC represents the carbon content of fossil fuels per unit of calorific value; OF represents the rate at which carbon in fossil fuels is oxidized; 44/12 represents the molecular mass ratio of carbon dioxide to elemental carbon; and EFCO 2 represents the carbon dioxide emission factor.

LMDI decomposition model
The LMDI approach, proposed by scholar Ang in 1998, is a decomposition method that quantifies each impacting factor's contribution to the target variable through exponential decomposition.The method is beneficial for dealing with data that includes zeros and negative numbers, and it does not produce residual terms.As a result, the LMDI approach has been extensively explored in studying the breakdown of influencing factors in the energy field [29,30].
Among them, C is the Shanxi power sector's carbon emissions; E represents the total energy consumption; F is the thermal power generation; T denotes the entire power generation; D represents the total power consumption; G is the gross regional product; IS is the total output value of the secondary industry; and P indicates the number of permanent residents in Shanxi Province.The variables involved above are the minimum dataset for the study of this paper, which is relied upon for subsequent factor decomposition and peak prediction, as shown in Table 1.The experimental minimum data set's descriptive statistics, including the mean, minimum, and maximum values, are displayed in Table 2.
Further, CE = C/E represents the intensity of the energy structure; EF = E/F is the energy consumption intensity of thermal power; FT = F/T means the power supply structure; TD = T/D denotes the conversion rate of electricity generation; DG = D/G represents the power consumption intensity; GI = G/IS is the reciprocal of industrial structure; IP = IS/P represents the per capita secondary industry value.Therefore, formula (4) can be expressed as: Using the additive decomposition form of LMDI, Eq (5) is decomposed to obtain the following equation: Where: C T and C 0 represent the carbon emissions at the end and base period, respectively; ΔC CE denotes energy structure effect; ΔC EF is thermal power energy consumption intensity effect; ΔC FT indicates power structure effect; ΔC TD represents electricity generation and consumption conversion rate effect; ΔC DG denotes electricity consumption intensity effect; ΔC GI is industrial structure effect; ΔC IP means per capita secondary industry contribution effect; ΔC P represents population size effect.

Variable selection.
The positive and negative drivers with the top three carbon emission contribution values were chosen by the decomposition results.The secondary industry's gross output value, the gross regional product, the population, total energy consumption, carbon emissions in the power sector, electric power consumption, thermal power generation, and total power generation are the variables that make up these drivers.Based on this, the power sector carbon emission model in this study is built using eight different types of variables from the four dimensions of population size, economics, technology, and power development level.Table 3 lists the particular variables and their descriptions [31].

LSTM model.
The development of LSTM began with the recurrent neural network (RNN), which was then built upon to include forgetting gates, input gates, and output gates.Adding storage units also helped address the gradient vanishing and gradient explosion issues [32].First, the information h t−1 of the previous state is selectively forgotten through a forgetting gate.Inputting h t−1 and the input information x t of the current state into the sigmoid function σ, the output F t is: Second, the information is selectively memorized through input gates, combining tanh and sigmoid layers to update the cell state: Further, the LSTM network updates the state of the old cells: Finally, the final output of the cell unit is updated through the output gate: Where: W is the weight; b represents the deviation matrix; t is the moment; C denotes the cell state; σ is the sigmoid activation function; tanh is the activation function.

SSA model.
As a population intelligent optimization algorithm with the ability of global search and local exploitation, the sparrow search algorithm divides the population into discoverers and joiners and searches for optimization in different dimensions by mimicking the characteristics of a sparrow population [33].Assuming that there are n sparrows and m parameter dimensions to be optimized in the population, the population can be expressed as: The discoverer has a wider search area and is tasked with finding food.Eq (23) is the location update formula for each iteration of the discoverer.
Where: t is a representation of the current iteration count; i item, max indicates the maximum number of iterations; X if is the sparrow's location within the dimension; α 2 [0, 1] denotes a random number; R 2 2 [0, 1] is the warning value; S ST 2 [0.5, 1] is the safety value; Q is a random number that satisfies the standard normal distribution; the values of the elements in the matrix are all 1.Eq (24) is the location update formula for each iteration of the joiner.
Among them, X p denotes the discoverer's best position.;X worst is the worst place; A is a 1 × d matrix, and each matrix member is randomly assigned a value of 1 or -1, The 10-20% of the sparrow population can recognize the danger, and this portion of the sparrow individuals and their locations are randomly generated with the expression of Eq (25).
Where: X best is the global optimal position of the current state; β is a random value and obeys a normal distribution with mean 0 variance 1; K is a random number in the range -1 to 1; f i stands for the individual sparrow's fitness value; f g is the highest overall fitness value; f w is the globe's least favorable fitness value; ε is a very tiny constant.

Combination of SSA and LSTM model.
The benefits of LSTM include efficient time-series data feature extraction and a brief training period.Nonetheless, the choice of an LSTM network's hyperparameters has a significant impact on how accurate the network predicts.Because the globally optimal state of the network is rarely reached by the empirically chosen network parameters, it is challenging to guarantee the network's ideal state.The two primary areas of LSTM improvement are parameter optimization and network architecture.By deepening the network, CNN-LSTM, Bi-LSTM, and DLSTM are meant to enhance model performance [34].This study presents a model that combines the SSA optimization approach and LSTM features.It investigates the relationship between variables and carbon emissions in detail and dynamically finds the ideal number of iterations, implicit layer node count, and LSTM learning rate.1. Model initialization: We start by determining the optimization parameters of the LSTM network.We also set the population size and initial position for the SSA model, the maximum number of iterations, and the upper and lower limits for the parameter values.

Objective function:
The root mean square error (RMSE) between the initial untrained LSTM model's predicted and actual values is what we refer to as the SSA model's objective function.
3. Optimization: Based on the results of the objective function, we update the positions of the discoverers, joiners, and danger recognizers in real-time.This allows us to find the optimal parameter values when the initially set number of iterations is reached.

LSTM training:
Once we have obtained the optimal parameters, we input them into the LSTM network and retrain the model.This allows us to derive an optimized prediction model.

Performance evaluation:
We evaluate the accuracy and effectiveness of the SSA-LSTM network model using metrics such as the root mean square error (RMSE) and the mean absolute error (MAE).

Data sources
The "Energy Balance Sheet of Shanxi (Physical Quantity)" in the China Energy Statistical Yearbook provided the information needed to calculate Shanxi Province's carbon emissions in the power sector from 1995 to 2020 [35].There are 18 different energy variations overall that are used to quantify carbon emissions, including raw coal, washed coal, coal, etc.The total energy consumption, thermal power generation, and electric power consumption needed for the research of influencing factors are provided by the China Energy Statistical Yearbook.The Shanxi Statistical Yearbook for 2021 provides data on population, GDP, secondary industrial production, and overall population.The China Energy Statistical Yearbook provides data on all forms of energy generation.

Carbon emissions from the power sector in Shanxi Province
According to Eq (1) carbon emissions can be calculated for 1995-2020.As depicted in Fig 3, the carbon emissions exhibited a general upward trend throughout the study period.Notably, there was a significant increase from 2005 to 2013, and a turning point occurred in 2013 when the emissions reached 217,933,700 tonnes.Since then, there has been a decrease.However, from 2017 to 2020, the emissions continued to rise, albeit at a slower rate.This indicates that the power industry in Shanxi Province has been successful in implementing low-carbon transformations.

Driving factors of carbon emissions
This paper uses the LMDI model to break down the carbon emissions of the electric power industry in Shanxi Province from 1995 to 2020 in order to better understand the driving factors influencing changes in carbon emissions from electric power.From the decomposition results, It is evident that the influencing factors that positively drive the carbon dioxide emissions are, in descending order of influence, the per capita secondary industry contribution effect, the industrial structure effect, the energy structure effect, the generation and use of electricity conversion rate effect, and the population scale effect.Among them, the positive driving impact of per capita secondary industry contribution efficiency is in a fault-type leading position because Shanxi Province, an underdeveloped coal resource-based representative province in the central region of China, has an imbalance in the development of the coal-related industrial sector.The pillar industry is single and crude, which has become a key constraint to the sustainable development of the economy of Shanxi Province.The influencing factors that negatively drive CO 2 emissions are, in descending order of inhibition, the power consumption intensity effect, the thermal power energy consumption intensity effect, and the power supply structure effect.For a comprehensive investigation to examine the patterns in the influences of the variables throughout time.The drivers' contribution values are broken down year by year in Table 4.
Fig 5 depicts the results of decomposing the contribution value of carbon dioxide emissions by influencing factors yearly.The decomposition results reveal that the per capita contribution factor of the secondary industry, the industrial structure factor, and the energy structure intensity factor all contribute significantly.The contribution of the per capita secondary industry, as the primary influencing factor in promoting carbon emissions, reflects Shanxi Province's level of regional economic development and the secondary industry's economic efficiency.The year-by-year decomposition results clearly show that this factor will increase carbon emissions for ten years, from 1995 to 2020.Since there was relatively little demographic change during the study period, the factor that played an important role in determining this factor was the total value of the secondary sector.The industrial structure factor, as the second-largest element positively impacting carbon emissions, has a positive driving role for nine years during the research phase.The energy structure intensity factor, representing the carbon emission intensity per unit of thermal power energy consumption, has played a driving role for eight years, reflecting the rationality of the energy structure.The findings of the analysis show that the total value of the secondary industry, GDP, and the resident population are critical factors in promoting carbon emissions.To effectively reduce carbon emissions, Shanxi Province must focus on industrial restructuring, promoting industrial transformation and upgrading.Additionally, the energy structure intensity is a significant element influencing carbon emissions, necessitating a focus on adjusting the energy structure and developing a new kind of electric power system to expedite the emission reduction process.Electricity consumption intensity, thermal power energy intensity and power structure have a remarkable negative driving function.The primary factor is the power consumption intensity effect, which reflects electricity consumption's efficiency.As electricity consumption per unit of regional GDP decreases, electricity production also declines, leading to reduced carbon emissions.The year-by-year decomposition chart from 1995-2020 shows that the electricity consumption intensity effect has reduced carbon emissions in eighteen years.The thermal power energy intensity impact, which measures energy consumption per unit of thermal power generation, has reduced carbon emissions in sixteen years during the study period.However, its contribution is slightly smaller than the power consumption intensity effect.The power structure has reduced carbon emissions in fifteen years.To address these issues, Shanxi Province should take action to manage power use, increase electricity use efficiency, and promote coordination between the regional economic scale, electricity consumption level, and resource environment.Additionally, optimizing fuel conversion technology and enhancing energy consumption conversion efficiency is crucial.Furthermore, in order to strengthen the proportion of renewable energy generation and actively pursue sustainable development, there should also be an emphasis on boosting the installation of renewable energy resources like wind power and photovoltaic.5.

Scenario settings.
The scenario analysis approach is utilized to examine the development of various aspects of the region in multiple scenarios.Using historical data from 1995 to 2020 in Shanxi Province, this study establishes parameter change rates under four scenarios -green development scenario, low carbon scenario, baseline scenario, and rapid development scenario-based on the current state of economic growth.As in Table 6, considering the requirements of the "14th Five-Year Plan" and the impact of the COVID-19 pandemic, seven independent variables are analyzed.
1. Population: According to the press conference on the seventh national population census data in Shanxi Province, the resident population in Shanxi Province has been decreasing in terms of total population.The 2020 census recorded a resident population of 34,905,600 in Shanxi Province, a 2.23% decrease from 2010.The average annual decline is 0.23%, accounting for 2.47% of the country's total population.The Shanxi Provincial People's Government announced the 2023 population figures and observed that the province's population had stabilized.China's population is expected to expand negatively during the next thirty years, according to the United Nations' 2019 World Population Prospects report.According to relevant scholars, Shanxi Province's resident population growth rate is expected to progressively fall in the future following a brief spike [37].As a result, under the baseline scenario, the rates of change for population growth in the various time periods are set at 0.08 percent for 2021-2025, 0.01 percent for 2026-2035, and -0.04 percent for 2036-

Carbon Emission Intensity:
The completion of the objectives and targets set by the State is the criterion for reducing carbon dioxide emissions per unit of GDP, according to Shanxi Province's 14th Five-Year Plan.A crucial goal has been established to cut carbon emissions per unit of GDP by 18% by 2025 compared to 2020 in China's 14th Five-Year Plan and the Outline of the 2035 Vision [38].The pace at which carbon emission intensity changes in different periods has been set to achieve this.Under the baseline scenario, the rate of change is -4.9% from 2021 to 2025, -4.5% from 2026 to 2035, and -4.1% from 2036 to 2045.The rate of change in other scenarios is adjusted accordingly.

Energy Consumption Intensity:
The "14th Five-Year" Energy Consumption and Emission Reduction Implementation Program for Shanxi Province aims to decrease the energy consumption per unit of GDP by 14.5% by 2025 compared to 2020.This target aligns with the national standards for reducing energy consumption per unit of GDP set by the "14th Five-Year Plan".The "State Council on issuing the "14th Five-Year" energy saving and emission reduction comprehensive work program notice" further states that China aims to decrease its energy consumption per unit of GDP by approximately 30% by 2030 compared to 2020.
Thermal power contribution generation - 5. Industrial structure: Because Shanxi Province has abundant coal and mineral resources, a large percentage of its industry is secondary, favoring heavy industry in the industrial structure.According to experts, the characteristics and trend forecast of China's industrial structure will alter throughout the "14th Five-Year Plan" period, which will end with the secondary industry's proportion falling to roughly 35.5% [39].According to the 2050 China Energy and Carbon Emission Report, China will catch up to wealthy nations by that year.The World Bank reports that industrialized countries have more than 70% of their total industrial output in tertiary education, compared to 61% in upper-middle class countries [40].Therefore, the rate of change for the industrial structure is set at -4.1% for 2021-2025, -3.8% for 2026-2035, and -3.5% for 2036-2045 under the baseline scenario.
6. Thermal power generation contribution rate: The "14th Five-Year Plan for Renewable Energy Development in Shanxi Province" outlines the target of achieving 50% of installed capacity and 30% of power generation from new and clean energy sources by the end of the plan.To achieve this, the rate of change for thermal power generation contribution will be set at -3.3% from 2021-2025, -2.9% from 2026-2035, and -2.5% from 2036-2045.Other scenarios will have adjusted rates of change accordingly.
7. Power consumption intensity: This gauges the efficiency of power use by calculating the amount of power used per unit of GDP.During the "14th Five-Year Plan" period, the goal is to keep electricity demand within a reasonable range and gradually shift from "highspeed" to "high-efficiency" electricity consumption.This will optimize the power supply structure and create conditions for the power industry to reach its peak earlier.The rates of change for power consumption intensity under the baseline scenario are set as follows: -2.3% from 2021-2025, -1.9% from 2026-2035, and -1.5% from 2036-2045.The rates of change under other scenarios will be adjusted accordingly.

Prediction results.
Based on the four different scenario models set and based on the SSA-LSTM model, the carbon emissions from the power sector in Shanxi Province from 2021 to 2045 are predicted.The results under each scenario are shown in Fig 9.
Fig 9 shows that the Shanxi Province's power sector will reach their peak first in the lowcarbon scenario, with the lowest peak amount of carbon.The peak is expected to occur in 2025, with a peak of 243,991,040 tonnes.The peak in the green development scenario will reach 258,828,790 tonnes in 2028.In the baseline scenario, the peak will occur in 2032, with a peak value of 261,246,170 tonnes.In the rapid development scenario, the peak carbon emissions will reach 270,432,400 tonnes in 2039.Table 6's parameter settings for the various scenarios show that, in the low-carbon scenario, not only do the population and per capita GDP continue to grow at a medium pace, but also the industrial structure, carbon emission intensity, energy consumption intensity, contribution rate of thermal power generation, and electricity consumption intensity all decrease more quickly.Since Fig 9's scenario has the earliest peaking time, the power industry in Shanxi Province should concentrate on promoting low-carbon technologies, enhancing energy efficiency, and adjusting the industrial structure going forward in order to encourage the reduction of carbon emissions and see a faster decline in these five indicators.In contrast, the carbon emission intensity, energy intensity, and other variables that are closely linked to the power industry are declining at a medium pace in the Green Development Scenario and the Baseline Scenario, and their peaking speeds are at a medium level.On the other hand, the scenario of rapid development peaks last.Table 6 shows that all the scenario's components are declining slowly, and since the intensity of energy consumption, the intensity of carbon emissions, and the percentage of the industrial structure have not been adequately managed, the scenario anticipates the latest peak time.This suggests that all energy consumption levels should be moderately controlled during the power industry's transformation and development process.Excessive carbon emission intensity and an unworkable industrial structure also work against the power industry's ability to develop sustainably.

Discussion
The results of this paper show that among the eight influencing factors, per capita secondary industry contribution, industrial structure, and energy structure intensity are the key factors contributing to the carbon emission of electric power in Shanxi, with contributions of 158.79%, 22.70%, and 11.53%, respectively.Electricity consumption intensity, fuel conversion rate, and power structure can significantly reduce carbon emissions, with contributions of -65.19%, -29.31%, and -13.88%, respectively.The biggest positive driver in Li et al.'s analysis of the breakdown of carbon emission drivers in the electricity industry in the Beijing-Tianjin-Hebei region is GDP per capita [41].According to Jia et al., the main causes of carbon emissions across all industries are economic considerations [42].Shanxi, as a coal resource-based province, has an industrial structure that favours traditional heavy industry, and there is still a gap between it and developed regions such as Beijing, Tianjin and Hebei, and the secondary industry is still a key factor in the carbon reduction process in Shanxi.Chen et al. found that the power supply structure plays an important role in carbon emission reduction in their study of carbon emissions from the power sector in the Yangtze River Delta [43].This conclusion is in line with the study's conclusion in this paper, which states that Shanxi province's power sector should prioritize encouraging the high-quality grid connection of renewable energy sources like solar and wind power, optimizing the energy structure, enhancing energy use efficiency, and successfully advancing the process of reducing carbon emissions.
According to this paper's low carbon and green development forecasts, Shanxi Province's electricity sector would peak in 2025 and 2028, respectively.Because Zhang et al. focused on the power and heat industry, they predicted that Shanxi province will peak in 2029 under the medium development scenario [44].The present study offers a foundation for investigating carbon reduction strategies in Shanxi Province's power sector; however, certain limitations remain.Specifically, the study does not currently account for indirect energy consumption in the power sector, which influences peaking rates to some degree.Future research will take into account the effects of indirect emissions on the power industry and carry out more thorough evaluations, which is crucial for the creation of carbon reduction strategies in this industry.

Conclusions
Determining the factors that influence carbon emissions in the power sector-both positive and negative-and projecting when it will peak are critical for developing effective strategies to reduce carbon emissions.The uniqueness of their energy structure sets resource-intensive cities apart from other cities in terms of their emission reduction strategies.Thus, the carbon emissions of the electric power industry in Shanxi Province are thoroughly examined in this paper, which also chooses pertinent data for carbon measurement from 1995 to 2020.The contribution of each factor in each year is calculated using LMDI, and the peak time of carbon in Shanxi Province is forecast using SSA optimization LSTM and scenarios.The results show that carbon emissions maintain an overall growth trend and slow down in 2016-2020, indicating that the comprehensive reform of the energy revolution in Shanxi Province during the 13th Five-Year Plan period has achieved a stage-by-stage success.With a contribution of 58.79 percent and -65.19 percent, respectively, the secondary industry's per capita and electricity intensity are the main drivers causing and preventing carbon emissions, and the economy continues to be the main driver.The SSA-LSTM prediction accuracy is much higher than that of the LSTM and BP neural networks, and a reduced error is obtained, according to the comparison of the prediction models.By fine-tuning the LSTM network parameters, SSA dramatically increases the model's accuracy and offers a solid foundation for future decision-making.With peaks of 243,991,1 and 258,828,8 million tonnes, respectively, the Shanxi power sector can reach carbon peaking under the Low Carbon Scenario and the Green Development Scenario in 2025 and 2028.This means that in the future, the Shanxi power sector will need to concentrate on modifying the industrial structure, enhancing the effectiveness of energy utilization, and facilitating the development of high rates of each of the factors, in order to ensure that the task of reaching carbon peaking will be completed on schedule.
This study closes research gaps on carbon emission in the power sector in energy-intensive regions by building a theoretical framework of the factors influencing carbon emissions in Shanxi's power sector, identifying the primary influencing factors and the peak time under various scenarios, and serving as a crucial foundation for relevant policy formulation and realworld investigation.The findings of this study suggest that when developing strategies to reduce carbon emissions, Shanxi Province's power sector should focus more on the impact of the secondary industry, energy structure, power consumption, and energy utilisation.Additionally, it should leverage the correlation between each of these factors and carbon emissions to effectively encourage reduction of carbon emissions.Aside from encouraging public participation in energy emission reduction initiatives, pertinent departments should also aggressively educate the public about low-carbon living and climate change, encourage green energy consumption, and help people adopt green lifestyles.This study focuses on the carbon emissions of Shanxi Province's electric power industry in order to shed light on the primary driving variables and emission reduction goals.Future research will centre on the examination of carbon emissions in resource-intensive provinces after a more thorough analysis is completed.The elements that reduce carbon emissions are compiled based on the features of regional growth, and the peak period is determined using accurate forecasting techniques.For the purpose of encouraging the industrial adjustment and economic transformation of the energy provinces, investigating the emission reduction path on this premise is extremely important.

Policy recommendations
Analysing the results of the study, it can be seen that the proportion of the secondary industry and the intensity of electricity consumption have a more significant impact on the carbon emissions of Shanxi's power industry.The government's Shanxi Carbon Peak Implementation Plan states that future development should support coal's transition from a fuel to a finished good in order to optimize the industrial structure and gradually develop into a product with a high rate of carbon sequestration.Shanxi Province's share in secondary industry has decreased recently as a result of the policy's direction.The industry's digital and intelligent transformation should be encouraged in order to empower information, foster the synergistic development of the industrial chain's upstream and downstream, and accelerate the process of reducing carbon emissions.To successfully encourage the power industry's carbon peak, appropriate action must be taken to increase energy efficiency and regulate the intensity of power consumption.According to Shanxi Province's 14th Five-Year Plan, by 2025, electricity will make up 40% of end-use energy consumption.For Shanxi Province to achieve negative growth in coal consumption and develop a low-carbon, green power system, it needs to optimize its structure for energy consumption, enhance the replacement of clean energy, and fully capitalize on the benefits of natural gas resources and industry.Based on this, the relevant departments ought to increase their research and development expenditure in science and technology innovation, concentrating on important technologies in important fields like nuclear power, energy storage, hydrogen energy, clean and efficient coal use, and carbon capture and storage.They should also increase their support for Carbon Peak through science and technology innovation.
The study presented in this paper enhances the carbon peak path reference for energy-intensive locations.Based on their energy kinds and resource advantages, energy-intensive regions should encourage the transformation and reform of resource-based economies.Shanxi and Northeast industrial zones are examples of coal-intensive regions that should concentrate on supply-side changes to increase the output energy's quality and efficiency.To facilitate the export of electricity, increase the outgoing corridors' energy utilization efficiency.Establishing a clean power supply base with wind, fire and storage energy complementing each other on the premise of guaranteeing a secure and stable supply of energy.The western region and Xinjiang, which are places with a substantial amount of green energy, ought to concentrate on coordinating supply and consumption sides of the equation and encourage the best possible distribution and use of green energy across the nation.Strengthen inter-regional energy cooperation and steadily advance the energy revolution process with the aid of the regional energy revolution.
Fig 1 is the network structure diagram: Fig 2 shows the overall structure of SSA-LSTM.Here are the main steps of the proposed approach: